package com.service;

import com.entity.Dept;
import com.github.pagehelper.PageInfo;
import com.vo.Page;

import java.util.List;

public interface IDeptService {
    List<Dept> listAll();
    PageInfo<Dept> listByParam(Page<Dept> page);
    Dept getByDeptId(Integer deptId);
    int insert(Dept dept);
    int delete(Integer deptId);
    int update(Dept dept);
}
